import request from '../../utils/request';
/** 投资订单管理  */

// 新增
export function addiaInvestOrder (params){
    return request({
        url:'/sys/iaInvestOrder/add.do',
        method: 'post',
        data: params,
        headContype:true
    });
};
// 删除
export function deliaInvestOrder (params){
    return request({
        url:'/sys/iaInvestOrder/detele.do',
        method: 'DELETE',
        params: params
    });
};
// 查看编辑详情 / 审核详情
export function lookiaInvestOrderDetail (params){
    return request({
        url:'/sys/iaInvestOrder/detail.do',
        method: 'get',
        params: params
    });
};
// 获取列表数据
export function getiaInvestOrderList (params){
    return request({
        url:'/sys/iaInvestOrder/findIaInvestOrderListByPage.do',
        method: 'get',
        params: params
    });
};

//编辑提交
export function editiaInvestOrder (params){
    return request({
        url:'/sys/iaInvestOrder/update.do',
        method: 'put',
        data: params,
        headContype:true
    });
};

// 通过审核信息 / 拒绝审核信息
export function approveOrRejectAudit (params){
    return request({
        url:"/sys/iaInvestOrder/check.do",
        method: 'PUT',
        params: params
    });
};